#include "SessionManager.h"
#include "FileTransferTcpServerSession.h"

int main()
{
	cout<<"start the main server test process "<<getpid()<<endl;

	SessionManager smgr;
	FileTransferTcpServerSession srv_session("127.0.0.1", 9001);
	smgr.add_srv_session(0, &srv_session);
	smgr.start_srv_session(0);

	while(1) {}

	cout<<"the main server_test process "<<getpid()<<" exit."<<endl;
	return 0;
}
